#ifndef ESCAPABLE_QLIST_WIDGET_H
#define ESCAPABLE_QLIST_WIDGET_H

#include <QListWidget>
#include <QKeyEvent>

class EscapableQListWidget : public QListWidget
{
    Q_OBJECT

public:
    explicit EscapableQListWidget(QWidget *parent = nullptr);

protected:
    void keyPressEvent(QKeyEvent *event) override;
};

#endif // ESCAPABLE_QLIST_WIDGET_H
